<!-- 搜索框及工具条 -->
<div class="c-head-box">
    <form method="get" action="{:Url('pool_bid_agent_list')}">
        <ul>
            <li class="c-head-search">
                <!-- 搜索条件 -->
                <ul>
                    <li><span>用户池编号：</span><input type="text" name="user_pool_bid_id" value="{$user_pool_bid_id}"/></li>
                    <li><span>用户编号：</span><input type="text" name="user_id" value="{$user_id}"/></li>
                    <li><span>用户昵称：</span><input type="text" name="nick" value="{$nick}"/></li>
                    <li><span>用户电话：</span><input type="text" name="phone" value="{$phone}"/></li>
                    <li><span>用户姓名：</span><input type="text" name="real" value="{$real}"/></li>
                    <li><span>用户身份证号码：</span><input type="text" name="identity" value="{$identity}"/></li>
                    <li><span>是否有社保：</span>{:widget('common/Select/select',array('is_social','is_social',$is_social))}</li>
                    <li><span>是否有公积金：</span>{:widget('common/Select/select',array('is_accumulation_fund','is_accumulation_fund',$is_accumulation_fund))}</li>
                    <li><span>婚姻状况：</span>{:widget('common/Select/select',array('is_marry','is_marry',$is_marry))}</li>
                    <li><span>是否黑户：</span>{:widget('common/Select/select',array('is_white','is_white',$is_white))}</li>
                    <li><span>是否有过贷款：</span>{:widget('common/Select/select',array('is_loan','is_loan',$is_loan))}</li>
                    <li><span>是否有逾期记录：</span>{:widget('common/Select/select',array('is_overdue','is_overdue',$is_overdue))}</li>
                    <li><span>是否学生：</span>{:widget('common/Select/select',array('is_student','is_student',$is_student))}</li>
                    <li><span>是否实名：</span>{:widget('common/Select/select',array('is_real','is_real',$is_real))}</li>
                    <li><span>是否有车：</span>{:widget('common/Select/select',array('is_car','is_car',$is_car))}</li>
                    <li><span>是否有房产：</span>{:widget('common/Select/select',array('is_house','is_house',$is_house))}</li>
                    <li><span>是否有信用卡：</span>{:widget('common/Select/select',array('is_credit_card','is_credit_card',$is_credit_card))}</li>
                    <li><span>是否有保单：</span>{:widget('common/Select/select',array('is_policy','is_policy',$is_policy))}</li>
                    <li><span>是否有公司：</span>{:widget('common/Select/select',array('is_company','is_company',$is_company))}</li>
                </ul>
            </li>
            <li class="c-head-button">
                <!-- 操作按钮 -->
                <div class="fr"><input type="submit" class="but_blue" value="搜索"></div>
            </li>
        </ul>
    </form>
</div>
<!--用户列表-->
<div class="lists-tab-cont">
    <div class="lists-table">
        <table class="pointer" cellpadding="0" cellspacing="0" border="0">
            <thead>
            <tr>
                <th style="width: 6%;" class="tabSort-header"><a class="tabSort-header-inner"><p>用户池编号</p></a></th>
                <th style="width: 6%;" class="tabSort-header"><a class="tabSort-header-inner"><p>用户编号</p></a></th>
                <th style="width: 6%;" class="tabSort-header"><a class="tabSort-header-inner"><p>头像</p></a></th>
                <th style="width: 6%;" class="tabSort-header"><a class="tabSort-header-inner"><p>昵称</p></a></th>
                <th style="width: 8%;" class="tabSort-header"><a class="tabSort-header-inner"><p>电话</p></a></th>
                <th style="width: 6%;" class="tabSort-header"><a class="tabSort-header-inner"><p>姓名</p></a></th>
                <th style="width: 8%;" class="tabSort-header"><a class="tabSort-header-inner"><p>身份证号</p></a></th>
                <th style="width: 5%;" class="tabSort-header"><a class="tabSort-header-inner"><p>所在省</p></a></th>
                <th style="width: 5%;" class="tabSort-header"><a class="tabSort-header-inner"><p>所在市</p></a></th>
                <th style="width: 8%;" class="tabSort-header"><a class="tabSort-header-inner"><p>贷款金额</p></a></th>
                <th style="width: 6%;" class="tabSort-header"><a class="tabSort-header-inner"><p>周期</p></a></th>
                <th style="width: 10%;" class="tabSort-header"><a class="tabSort-header-inner"><p>创建时间</p></a></th>
                <th class="tabSort-header"><a class="tabSort-header-inner"><p>操作</p></a></th>
            </tr>
            </thead>
            <tbody>
            {foreach name="user_pool_bid_list" item="info"}
            <tr>
                <td>{$info.user_pool_bid_id}</td>
                <td>{$info.user_id}</td>
                <td>{:widget('common/Images/img',array($info["avatar"],30,30))}</td>
                <td>{$info.nick}</td>
                <td>{$info.phone}</td>
                <td>{empty name="$info.real"}--{else/}{$info.real}{/empty}</td>
                <td title="{$info.identity}">{empty name="$info.identity"}--{else/}{$info.identity}{/empty}</td>
                <td>{:widget('common/Name/area',array($info["province_id"]))}</td>
                <td>{:widget('common/Name/area',array($info["city_id"]))}</td>
                <td>{$info.money}万</td>
                <td>{$info.period}月</td>
                <td>{$info.create_time}</td>
                <td>
                    <a data-type="info-win" data-src="{:Url('pool_bid_agent_info',array('user_pool_bid_id'=>$info['user_pool_bid_id']))}" data-title="详情" data-width="80%" data-height="80%" class="blue">意向详情</a>
                    <a data-type="info-win" data-src="{:Url('user/user_info',array('user_id'=>$info['user_id']))}" data-title="客户详情" data-width="80%" data-height="80%" class="blue">客户详情</a>
                    <a href="{:Url('user_pool_bid_task_add',array('user_pool_bid_id'=>$info['user_pool_bid_id']))}" class="blue">添加跟踪记录</a>
                    <a data-type="info-win" data-src="{:Url('user_pool_bid_task_list',array('user_pool_bid_id'=>$info['user_pool_bid_id']))}" data-title="跟踪记录" data-width="80%" data-height="80%" class="blue">跟踪记录</a>
                </td>
            </tr>
            {/foreach}
            </tbody>
        </table>
    </div>

    <!-- 翻页模板 -->
    <div class="page">
        {$Think.config.page_html}
    </div>
</div>
